//
//  NSDate+YODatePicker.h
//  Picker选择器
//
//  Created by 余尚飞 on 16/8/13.
//  Copyright © 2016年 余尚飞. All rights reserved.
//

#import <Foundation/Foundation.h>

extern NSString *const kDateFormatYYYYMMDD;
extern NSString *const kDateFormatYYMMDDTHHmmss;


@interface NSDate (YODatePicker)//时间戳

+(NSDateFormatter *)shareDateFormatter;

-(NSInteger)daysBetween:(NSDate *)aDate;

-(NSDate *)dateByAddingDays:(NSInteger)days;

-(NSString *)stringForFormat:(NSString *)format;

@end

@interface NSCalendar (AT)//日历

+(instancetype)getInstanceCalendar;

@end